package com.hxd.otc.module.home.contract;

import com.hxd.otc.module.home.adapter.TicketDetailAdapter;
import com.hxd.otc.mvp.contract.BaseRecyclerContract;
import com.hyphenate.helpdesk.domain.CommentEntity;
import com.hyphenate.helpdesk.domain.TicketEntity;

/**
 * Created by lzy on 2019/1/16 0016.
 * description ${留言详情}
 */
public interface TicketDetailContract {
    interface IView extends BaseRecyclerContract.View<TicketDetailAdapter, CommentEntity> {
        void runOnUi(Runnable runnable);
    }

    interface IPresenter extends BaseRecyclerContract.Presenter<CommentEntity> {
        void setTicketEntity(TicketEntity ticketEntity);

        TicketEntity getTicketEntity();
    }
}
